package com.ruoyi.dynamic.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;


/**
 * <p>
 * K歌房点歌记录
 * </p>
 *
 * @author Gnc
 * @since 2025-01-07
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("youban_room_sing")
@ApiModel(value = "RoomSing对象", description = "K歌房点歌记录")
public class RoomSing extends BaseEntity<RoomSing> {

    @ApiModelProperty("房间id")
    private Long roomId;

    @ApiModelProperty("音乐资源编号")
    private String songCode;

    @ApiModelProperty("音乐名称")
    private String name;

    @ApiModelProperty("歌手名称")
    private String singer;

    @ApiModelProperty("音乐资源总时长")
    private Integer duration;

    @ApiModelProperty("音乐高潮片段的结束时间点，单位毫秒.")
    private Long endTimeMs;

    @ApiModelProperty("音乐高潮片段的开始时间点，单位毫秒.")
    private Long startTimeMs;

    @ApiModelProperty("用户昵称")
    private String userNickName;

    @ApiModelProperty("用户头像")
    private String userPhoto;

    @ApiModelProperty("音乐海报")
    private String poster;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("是否在播放着 0无1是")
    private Integer isPlay;

    @ApiModelProperty("是否置顶")
    private Integer isTop;
}
